package com.example.mapper;

import com.example.entity.Comment;
import com.example.entity.Params;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CommentMapper {
    List<Comment> findBySearch(@Param("params") Params params);


    void deleteById(Integer id);


    void add(Comment comment);
}
